package com.lzy.managersystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzy.managersystem.pojo.RoleMenu;

import java.util.List;

/**
 * @author qq619
 * @description 针对表【sys_role_menu】的数据库操作Service
 * @createDate 2022-07-12 21:21:32
 */
public interface RoleMenuService extends IService<RoleMenu> {

    //以roleid删除 ,再添加menuids
    void deleteByRoleid(Integer id, List<Integer> ids);

    //查找roleid的menuids
    List<Integer> selectByroleid(Integer roleId);

}
